From bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Tue, 9 Mar 2021 22:43:12 +0100
Subject: Update to SvelteKit

---
 src/routes/p/[id].svelte | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/routes/p/[id].svelte

(limited to 'src/routes/p/[id].svelte')

diff --git a/src/routes/p/[id].svelte b/src/routes/p/[id].svelte
new file mode 100644
index 0000000..b8a8165
--- /dev/null
+++ b/src/routes/p/[id].svelte
@@ -0,0 +1,11 @@
+<script>
+  export const load = function load(ctx) {
+
+    const id = ctx.page.params.id;
+    return { props: { id } };
+  };
+
+  import Post from '$components/post/post.svelte';
+</script>
+
+<Post/>
-- 
cgit 

